<!-- Modal -->
<div class="modal fade" id="userModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
     aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
          aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="exampleModalLabel">新建用户</h4>
      </div>
      <div class="modal-body">
        <form class="form-horizontal">
          <div class="col-sm-6">
            <div class="form-group">
              <label class="col-lg-4 control-label">名称</label>
              <div class="col-lg-8">
                <input type="text" class="form-control" ng-model="formData.name">
              </div>
            </div>
            <label class="col-lg-4 control-label">密码</label>
            <div class="col-lg-8">
              <input type="text" class="form-control" ng-model="formData.password">
            </div>
          </div>
          <div class="col-sm-6">
            <div class="form-group">
              <label class="col-lg-4 control-label">邮箱</label>
              <div class="col-lg-8">
                <input type="text" class="form-control" ng-model="formData.email">
              </div>
            </div>
          </div>
          <div class="col-sm-12">
            <div class="form-group">
              <div class="col-lg-offset-2 col-lg-10">
              </div>
            </div>
          </div>
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" data-dismiss="modal" ng-click="onAddSubmit()" >保存</button>
      </div>
    </div>
  </div>
</div>
